import { request } from "../../utils/request";

//进行签到
export function ApiSgin()
{
	return request({
		method: 'GET',
		url:"signIn/addsignIn"
	})
}

//判断用户是否签到
export function ApiIsSgin()
{
	return request({
		method: 'GET',
		url:"signIn/isSignIn"
	})
}

//获取省级信息
export function ApigetProvinceList()
{
	return request({
		method:"GET",
		url:"address/getProvince"
	})
}

//获取市级信息
export function ApigetCityList()
{
	return request({
		method:"GET",
		url:"address/getCity"
	})
}

//获取县级信息
export function ApigetCountyList()
{
	return request({
		method:"GET",
		url:"address/getArea"
	})
}

//添加地址
export function ApiAddAddress(data={})
{
	return request({
		method:"POST",
		url:"address/addAddress",
		data
	})
}

//获取地址
export function ApiGetAddress()
{
	return request({
		method:"GET",
		url:"address/getAddress"
	})
}

//获取今天的天气
export function ApigetWeather(){
	return request({
		url:"weather/getWeather",
		method: "GET"
	})
}

//获取今天的天气
export function ApigetWeathers(){
	return request({
		url:"weather/getWeekWeather",
		method: "GET"
	})
}

//智能客服
export function Apicustomer(content)
{
	return request({
		method: "GET",
		url:`customer/service?content=${content}`
	})
}
